<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<script type="text/javascript">
			// function cal() {}
			var array = new Array(7);//代表构造长度是7数组
			console.log(array);
			console.log(array.length);
			// js的数组里面可以让任意类型
			var array1 = new Array(100, 'a', true);
			console.log(array1.length);
			console.log(array1);
		</script>
	</body>
</html>
